package week4;

import java.util.Random;

public class Ti180326 {
    public static void main(String[] args) {
        Random num = new Random();
        int PseudoNumber;
        PseudoNumber = num.nextInt(20) - 10;//随机取值[-10,10)

        String hex = Integer.toHexString(PseudoNumber);
        System.out.println(hex);
    }
}
